<link type="text/css" href="https://cdn.bootcdn.net/ajax/libs/amazeui/2.7.2/css/amazeui.min.css" rel="stylesheet">
<script type="text/javascript" src="https://cdn.bootcdn.net/ajax/libs/amazeui/2.7.2/js/amazeui.min.js"></script>



<!-- 文档地址 http://amazeui.shopxo.net/javascript/collapse/ -->
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<div class="am-panel-group" id="accordion" style="font-size: 14px">
	<div class="am-panel am-panel-default">
		<div class="am-panel-hd">
			<h4 class="am-panel-title" data-am-collapse="{parent: '#accordion', target: '#do-not-say-1'}">
				...
			</h4>
		</div>
		<!-- 内容 -->
		<div id="do-not-say-1" class="am-panel-collapse am-collapse am-in">
			<div class="am-panel-bd">
				...
			</div>
		</div>
	</div>
	<div class="am-panel am-panel-default">
		<div class="am-panel-hd">
			<h4 class="am-panel-title" data-am-collapse="{parent: '#accordion', target: '#do-not-say-2'}">
				...
			</h4>
		</div>
		<!-- 内容 -->
		<div id="do-not-say-2" class="am-panel-collapse am-collapse">
			<div class="am-panel-bd">
				...
			</div>
		</div>
	</div>
	<div class="am-panel am-panel-default">
		<div class="am-panel-hd">
			<h4 class="am-panel-title" data-am-collapse="{parent: '#accordion', target: '#do-not-say-3'}">...</h4>
		</div>
		<!-- 内容 -->
		<div id="do-not-say-3" class="am-panel-collapse am-collapse">
			<div class="am-panel-bd">
				...
			</div>
		</div>
	</div>
</div>

<script type="text/javascript">
	$('.am-panel-hd').click(function(){
		console.log($(this).text());
	});
</script>